package com.ruoyi.hospital.service.order;

import java.util.List;
import com.ruoyi.hospital.domain.order.ShopAfterAddress;

/**
 * 回寄地址Service接口
 * 
 * @author wendao
 * @date 2024-09-30
 */
public interface IShopAfterAddressService 
{
    /**
     * 查询回寄地址
     * 
     * @param id 回寄地址主键
     * @return 回寄地址
     */
    public ShopAfterAddress selectShopAfterAddressById(Integer id);
    public ShopAfterAddress selectShopAfterAddressByStoreId(Integer storeId);
    /**
     * 查询回寄地址列表
     * 
     * @param shopAfterAddress 回寄地址
     * @return 回寄地址集合
     */
    public List<ShopAfterAddress> selectShopAfterAddressList(ShopAfterAddress shopAfterAddress);

    /**
     * 新增回寄地址
     * 
     * @param shopAfterAddress 回寄地址
     * @return 结果
     */
    public int insertShopAfterAddress(ShopAfterAddress shopAfterAddress);

    /**
     * 修改回寄地址
     * 
     * @param shopAfterAddress 回寄地址
     * @return 结果
     */
    public int updateShopAfterAddress(ShopAfterAddress shopAfterAddress);

    /**
     * 批量删除回寄地址
     * 
     * @param ids 需要删除的回寄地址主键集合
     * @return 结果
     */
    public int deleteShopAfterAddressByIds(Integer[] ids);

    /**
     * 删除回寄地址信息
     * 
     * @param id 回寄地址主键
     * @return 结果
     */
    public int deleteShopAfterAddressById(Integer id);
}
